import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import "font-awesome/css/font-awesome.min.css"
Vue.config.productionTip = false

function setStorage(key,value){
  localStorage.setItem(key, JSON.stringify(value));
}
function getStorage(key){
  return JSON.parse(localStorage.getItem(key));
}
function removeStorage(key){
  localStorage.removeItem(key);
}

Vue.prototype.setStorage = setStorage

Vue.prototype.getStorage = getStorage

Vue.prototype.removeStorage = removeStorage

new Vue({
  router,
  store,
  render: function (h) { return h(App) }
}).$mount('#app')
